#常见的表单元素input type='text/password/email/number'
#button input[type='submit']
#checkbox input='checkbox'
#select
from selenium.webdriver.common.by import  By
from selenium import webdriver
driver_path=r"F:\demos\chromedriver_win32\chromedriver.exe"
driver=webdriver.Chrome(executable_path=driver_path)
# driver.get('https://www.baidu.com/')
#获取点击事件
# intTag=driver.find_element_by_id('kw')
# intTag.send_keys('python')
#
# submitTag=driver.find_element_by_id('su')
# submitTag.click()

driver.get('https://www.douban.com/')
rememberBtn=driver.find_element_by_id("account-form-remember")
#选两次是取消选中
rememberBtn.click()